package sphere.model;

public class Sphere 
{
	private double rayon;
	
	public Sphere(double rayon)
	{
		this.rayon=rayon;
	}
	
	public double Volume()
	{
		return ((4/3)*Math.PI*(Math.pow(rayon, 3)));
	}
	
	public double Surface()
	{
		return (4*Math.PI*(Math.pow(rayon, 2)));
	}

	public double getRayon() {
		return rayon;
	}

	public void setRayon(double rayon) {
		this.rayon = rayon;
	}
	
	
	
}
